#include "stm32f10x.h"
#include "bsp.h"
#include "lwip_task.h"


int main(void)
{
    bsp_Init();

    DEBUG("lwip stack porting based on enc28j60.");

    // lwip init
    lwip_init_task();

    // periodic handle
    while(1)
    {
        process_mac();
//        sys_check_timeouts();

        // TODO: add own user code here
        
    }
}
